Feature: Modificar POST agregar imagen
Scenarios
|
Chart |
Status Progress |
||||
|---|---|---|---|---|---|
|
1
|
|
||||
| Total duration: | |||||
| 1m 44.376s |
Scenario: Como un usuario inicio sesión y edito un post agrego una imagen
Before
0m 1.019s
Given
I navigate to page "http://localhost:2368/ghost/#/signin"
0m 0.719s
And
I wait for 1 seconds
0m 1.110s
And
I set text "<USERNAME>" on element with xpath "<USERNAME_EID>"
0m 0.185s
And
I set text "<PASSWORD>" on element with xpath "<PASSWORD_EID>"
0m 0.133s
And
I wait for 1 seconds
0m 1.104s
Then
I click element with xpath "<BTN_SIGNIN_EID>"
0m 0.160s
And
I wait for 1 seconds
0m 1.169s
Given
I navigate to page "http://localhost:2368/ghost/#/editor/post"
0m 0.193s
And
I wait for 1 seconds
0m 1.087s
And
I set text "POST con Imágen para ACTUALIZAR" on element with xpath "<POST_TITLE_ECLASS>"
0m 0.167s
And
I wait for 1 seconds
0m 1.105s
And
I click element with xpath "<ADD_IMAGE_ECLASS>"
0m 0.167s
And
I wait for 5 seconds
0m 5.327s
And
I click element with xpath "<INSERT_IMAGE_ECLASS>"
0m 0.190s
And
I wait for 5 seconds
0m 5.255s
And
I set text "Hey post has sido creado" on element with xpath "<CONTENT_ECLASS>"
0m 0.392s
And
I wait for 5 seconds
0m 5.270s
Then
I navigate to page "http://localhost:2368/ghost/#/posts"
0m 0.377s
And
I click element with xpath "<POST_ONLIST_CLASS>"
0m 0.235s
And
I wait for 1 seconds
0m 1.248s
Then
I click element with xpath "<CONTENT_ECLASS>"
0m 0.300s
And
Enter on element with xpath "<CONTENT_ECLASS>"
0m 0.264s
And
I wait for 1 seconds
0m 1.300s
Then
I click element with xpath "<PLUS_ADD_ECLASS>"
0m 0.438s
And
I wait for 2 seconds
0m 2.264s
Then
I click element with xpath "<UNSPLASH_XPATH>"
0m 0.608s
And
I wait for 3 seconds
0m 3.354s
And
I click element with xpath "<INSERT_IMAGE_ECLASS>"
0m 0.389s
And
I wait for 3 seconds
0m 3.257s
And
I set text "POST ACTUALIZADO" on element with xpath "<POST_TITLE_ECLASS>"
0m 0.333s
And
I wait for 1 seconds
0m 1.308s
Then
I click element with xpath "<CONTENT_ECLASS>"
0m 0.353s
And
I wait for 3 seconds
0m 3.277s
Then
I click element with xpath "<CONTENT_ECLASS>"
0m 0.314s
After
0m 0.005s
Screenshots
Before
NO IMAGE AVAILABLE
Given
I navigate to page "http://localhost:2368/ghost/#/signin"
And
I wait for 1 seconds
And
I set text "<USERNAME>" on element with xpath "<USERNAME_EID>"
And
I set text "<PASSWORD>" on element with xpath "<PASSWORD_EID>"
And
I wait for 1 seconds
Then
I click element with xpath "<BTN_SIGNIN_EID>"
And
I wait for 1 seconds
Given
I navigate to page "http://localhost:2368/ghost/#/editor/post"
And
I wait for 1 seconds
And
I set text "POST con Imágen para ACTUALIZAR" on element with xpath "<POST_TITLE_ECLASS>"
And
I wait for 1 seconds
And
I click element with xpath "<ADD_IMAGE_ECLASS>"
And
I wait for 5 seconds
And
I click element with xpath "<INSERT_IMAGE_ECLASS>"
And
I wait for 5 seconds
And
I set text "Hey post has sido creado" on element with xpath "<CONTENT_ECLASS>"
And
I wait for 5 seconds
Then
I navigate to page "http://localhost:2368/ghost/#/posts"
And
I click element with xpath "<POST_ONLIST_CLASS>"
And
I wait for 1 seconds
Then
I click element with xpath "<CONTENT_ECLASS>"